import pytest

from common import log_sent, send_mail

if __name__ == '__main__':
    log_sent()
    pytest.main(['./','-s','--html=baogao.html'])
    send_mail(['log.txt','baogao.html'])